package com.ssm.helong.shop.Dao;


import com.ssm.helong.shop.entity.GoodsTopFloor;
import com.ssm.helong.shop.pojo.FindAllGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsDao {
    //商品查询全部
    List findAllGoods(FindAllGoods findAllGoods);

    //实现商品分类导航栏搜索功能

    //进入首页获得大类 (先写在这里)
    List selectTopShops(GoodsTopFloor goodsTopFloor);

    //点击小类获得子类
    List selectGoodsShops(@Param("goodsFirstName") String goodsFirstName);

    //点击子类获得子类商品属性
    List selectGoodsShopsAttribute(@Param("goodsName") String goodsName);
}
